libmozjs-17.0-bin software package provides Spidermonkey javascript shell, you can install in your Ubuntu 14.04 LTS (Trusty Tahr) by running the commands given below on the terminal,
$ sudo apt-get update $ sudo apt-get install libmozjs-17.0-bin
libmozjs-17.0-bin is installed in your system.
Make ensure the libmozjs-17.0-bin package were installed using the commands given below,
$ sudo dpkg-query -l | grep libmozjs-17.0-bin *
You will get with libmozjs-17.0-bin package name, version, architecture and description in a table
| Distro | Ubuntu 14 04 lts trusty tahr |
| Section | Libraries |
| Package | libmozjs-17.0-bin |
| Version | 17.0.0-1ubuntu1 |
| Description | Spidermonkey javascript shell |
| Sub Section | libs |